<?php

class Application_Form_Confirm extends Zend_Form
{

    public function init()
    {
        $this->clearDecorators();
        $decorators = array(
            array('ViewHelper'),
        );

        $this->setName('confirm');

        $id = new Zend_Form_Element_Hidden('id');

        $sim = new Zend_Form_Element_Submit('sim');
        $sim->setLabel('Sim')
                ->setAttribs(array('style'=>'btn'))
                ->setDecorators($decorators);

        $nao = new Zend_Form_Element_Submit('nao');
        $nao->setLabel('Não')
                ->setAttribs(array('style'=>'btn'))
                ->setDecorators($decorators);

        $this->setDecorators(array(
           'FormElements',
           'Form'
        ));

        $this->addElements(array($id, $sim, $nao));   
        
    }


}

